import Header from "./components/header"
import { useRoutes } from "react-router-dom"
import routes from "./router"
import { memo } from "react"

const App = memo((props) => {
  return (
    <div>
      <Header />
      <div className="content">{useRoutes(routes)}</div>
    </div>
  )
})
export default App
